package com.khalil.kkadmin.module.job.test;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Component;

@Component
public class PrintCurrentDateTimeBeanJob implements Job {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("PrintCurrentDateTimeBeanJob.execute...");
        System.out.println("当前时间：" + System.currentTimeMillis());
    }
}
